<include file="./Public/header" />
<div style="margin-left: 400px;"><h1>修改社团</h1></div>
<volist name="aa" id="vo" mod="2" empty="暂时没有数据" key="k">

<form class="form-horizontal" role="form" action="groupsUpdate" method="post"  enctype="multipart/form-data">

	<input type="hidden" name="id" value="{$vo.id}"></input>
 
    <div class="form-group ">
        <label for="username" class="col-md-2 control-label">社团名称</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="username" name="groupname" placeholder="username" value="{$vo.groupname}">
        </div>
    </div>
    

    <div class="form-group">
        <label for="email" class="col-md-2 control-label">介绍 </label>
        <div class="col-md-5">
            <textarea class="form-control" id="email" name="intro" placeholder="{$vo.intro}" ></textarea>
        </div>
    </div>

  
    <div class="form-group">
        <label for="image" class="col-md-2 control-label">Logo</label>
        <div class="col-md-3">

            <img clas="img-rounded" id="image"  src="__PUBLIC__/uploads/photo/{$vo.logo}" alt="..." width="50%" />
        </div>
    </div>
    <div class="form-group">
        <label for="photo" class="col-md-2 control-label">修改文件</label>
        <div class="col-md-2">
            <input type="file" id="photo" name="logo" >
            <input type="hidden" name="photo" value="{$vo.logo}"></input>
        </div>
    </div>



    <div class="form-group">
        
    <div class="col-md-2 col-md-offset-5">
        <button type="submit" class="btn btn-default">修改</button>
    </div>

</form>

</volist>
<include file="./Public/footer" />